package com.kx.ssm.exception;

/**
 * @ClassName MyBaseException
 * @Author Sun
 * @Date 2021/5/20 23:05
 */
public class MyBaseException extends RuntimeException{

    private int code;

    public MyBaseException(String message, int code) {
        super(message);
        this.code = code;
    }

    public int getCode() {
        return code;
    }
}
